#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include<QFile>
#include<QFileDialog>
#include"sentemail.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_enterSMTPconfigButton_clicked();


    void on_chooseAttachmentButton_clicked();

    void on_comparisonButton_clicked();

    void on_sentButton_clicked();

    void on_showErrorMailButton_clicked();

    void on_backToMainPageButton_clicked();
    bool checkStatus();//检查是否有空选项

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
